package com.aaa.system.service.impl;

import com.aaa.entity.Dept;
import com.aaa.system.dao.DeptDao;
import com.aaa.system.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: aaa-his-parent
 * @description:
 * @author: 闫克起2
 * @create: 2023-12-08 11:51
 **/
@Service
public class DeptServiceImpl implements DeptService {

    @Autowired
    private DeptDao deptDao;
    @Override
    public List<Dept> findAll() {
        List<Dept> list = deptDao.selectList(null);
        return list;
    }
}
